using System;
using System.Collections.Generic;

namespace DotNetCore.MvcFormatTest
{
    public class WeatherForecast
    {
        public DateTime Date { get; set; }

        public int TemperatureC { get; set; }

        public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);

        public string Summary { get; set; }

        public int IntOption { get; set; }

        public object ObjectOption { get; set; }

        public List<int> ListOption { get; set; }

        public Array ArrayOption { get; set; }

        public string StringOption { get; set; }

        public ClassOption ClassOption { get; set; }

        public EnumOption EnumOption { get; set; }
    }

    public class ClassOption
    {
        public int IntOptionItem { get; set; }

        public object ObjectOptionItem { get; set; }

        public List<int> ListOptionItem { get; set; }

        public Array ArrayOptionItem { get; set; }

        public string StringOptionItem { get; set; }
    }

    public enum EnumOption
    {
        One=1,
        Two=2
    }
}
